package com.teamall.web.fpxm.db.dao.mapper;

import com.teamall.web.fpxm.db.arg.CodeAidProjectProgressArg;
import com.teamall.web.fpxm.db.po.CodeAidProjectProgressPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface ICodeAidProjectProgressMapper {
    
    List<Integer> countByArg(CodeAidProjectProgressArg arg);

    List<CodeAidProjectProgressPO> selectByArg(CodeAidProjectProgressArg arg);

    CodeAidProjectProgressPO selectByPrimaryKey(Integer id);

    List<CodeAidProjectProgressPO> selectByArgAndPage(CodeAidProjectProgressArg arg, RowBounds rowBound);

    int insert(CodeAidProjectProgressPO record);

    int insertSelective(CodeAidProjectProgressPO record);

    int insertBatch(@Param("list") List<CodeAidProjectProgressPO> records);

    int updateByArgSelective(@Param("record") CodeAidProjectProgressPO record,
            @Param("arg") CodeAidProjectProgressArg arg);

    int updateByArg(@Param("record") CodeAidProjectProgressPO record,
            @Param("arg") CodeAidProjectProgressArg arg);

    int updateByPrimaryKeySelective(CodeAidProjectProgressPO record);

    int updateByPrimaryKey(CodeAidProjectProgressPO record);
    
    int deleteByArg(CodeAidProjectProgressArg arg);
    
    int deleteByPrimaryKey(Integer id);
    
}